﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Helpers;

namespace myFinance.Models.ViewModels
{
    public static class AvatarStream
    {
        public static WebImage Avatar
        {
            get
            {
                return HttpContext.Current.Application["avatar"] as WebImage;
            }
            set
            {
                HttpContext.Current.Application["avatar"] = value;
            }
        }

        public static WebImage NovoAvatar
        {
            get
            {
                return HttpContext.Current.Application["novoavatar"] as WebImage;
            }
            set
            {
                HttpContext.Current.Application["novoavatar"] = value;
            }
        }
    }
}